package kit.msc.utility;

import javax.swing.KeyStroke;

public final class KeyStroker {

	private KeyStroker() {

	}

	public static KeyStroke getKeyStroke(String keyStroke, int defaultKey, int defaultMask) {
		return KeyStroke.getKeyStroke(defaultKey, defaultMask);
		// return KeyStroke.getKeyStroke(Preference.getInt(keyStroke,
		// defaultKey), Preference.getInt(keyStroke + ".MASK", 0));
	}

	public static KeyStroke getKeyStroke(String keyStroke, int defaultKey) {
		return KeyStroke.getKeyStroke(defaultKey, 0);
		// return KeyStroke.getKeyStroke(Preference.getInt(keyStroke,
		// defaultKey), Preference.getInt(keyStroke + ".MASK", 0));
	}

}
